<div id="content">
    <div id="title_content"><?php echo $page; ?> contenu</div>

    <?php if ($this->session->flashdata('alert')): ?>
        <div class="affiche_erreur">
            <?php echo $this->session->flashdata('alert'); ?>
        </div>
    <?php endif; ?>
    <table class="list" width="100%">
        <thead>
            <tr>

                <th>Titre</th>
                <th>Contenu</th>
                <th colspan="2">Action</th>
            </tr>
        </thead>
        <tbody>
            <?php foreach ($accueil_data as $aRow): ?>
                <tr>
                    <td><?php echo $aRow['title']; ?></td>
                    <td><?php echo get_short_description($aRow['content'], '30'); ?>...</td>
                    <td width="30px"><a href="<?php echo site_url('admin_content/update_page') . '/'.$page. '/' . $aRow['id'] ?>"><img src="<?php echo base_url() ?>assets/admin/images/modifier.png" alt="modifier"/></a></td>
                </tr>
            <?php endforeach; ?>
        </tbody>
    </table>
   
    <!--END delete_button-->

</div>
<!--END content-->
